-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unit tests for ALL InputData and Data classes methods #1200 #1251
base: master
Are you sure you want to change the base?
Conversation
- added tests for from_numpy, from_dataframe, from_csv methods for regression and classification (bi and multi) tasks - simple_classification and simple_regression datasets are moved to separate folders
Hello @andreygetmanov! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-02-20 13:01:55 UTC |
All PEP8 errors has been fixed, thanks ❤️ Comment last updated at |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1251 +/- ##
=======================================
Coverage 80.05% 80.06%
=======================================
Files 149 149
Lines 10278 10278
=======================================
+ Hits 8228 8229 +1
+ Misses 2050 2049 -1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
не уверен, что прав, но я бы не стал плодить множество функций вида get_*_data_from_*
, а написал бы одну функцию считывания данных, где можно менять аргументы. кажется, таким образом не будет 100500 функций, каждая из которых служит обвязкой для InputData.from_*
- refactoring of test_regression.py - refactoring of test_classification.py
/fix-pep8 |
Поправил |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so far lgtm
Summary
Solution of #1200 issue.
Add unit tests for:
Context
Closes #1200